home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / xbin / reset-cc < prev    next >
Lisp/Scheme  |  1989-08-29  |  300b  |  10 lines

  1.  
  2. echo 'compiler::*cc*' | unixport/saved_kcl | sed -e "/-I/\!d" | sed -e "s:>::g" -e "s:-I[^ ]*:-I`pwd`:g" > tmpx
  3.  
  4. echo "(setq compiler::*cc* \"`cat tmpx`\")" '(si::save-system "saved_kcl.new")' | saved_kcl
  5. echo "#!/bin/sh" > /tmpx
  6. echo `pwd`/saved_kcl.new `pwd`/ >> tmpx
  7. mv tmpx akcl
  8. chmod a+x akcl
  9.  
  10.